<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
	String basePath = request.getContextPath();
	String path = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+basePath+"/";
	request.setAttribute("path",path);
%>
<!doctype html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
	<meta name="format-detection" content="telephone=no,address=no,email=no"/>
	<meta name="keywords" content="" />
	<meta name="description" content="" />
	<title>修改收货地址</title>
	<script type="text/javascript" src="${path}/mobileTerminal/js/jquery.js"></script>
	<script type="text/javascript" src="${path}/js/jquery-2.1.1.min.js"></script>
	<link href="${path}/mobileTerminal/css/style.css" rel="stylesheet" media="all">
	<link rel="shortcut icon" href="${path}/mobileTerminal/img/favicon.png">
</head>
<body class="hu_shopping">
	<header>
		<div class="headerwrap">
			<div class="header_wrap">
				<a href="javascript:history.go(-1);" class="return_last">返回</a>
				<h1>修改收货地址</h1>
			</div>
		</div>
	</header><!-- header -->
	<form id="form1" name="form1" method="post" action="${path}/updateAddress">
		<input name="addressId" id="addressId" style="display: none" value="${addressId}">
		<input name="userId" id="userId" style="display: none" value="${userId}">
	<div class="content_wrap" id="editadd_wrap">
		<div class="editaddress">
			<div class="editaddress_txt">
				<p class="editadd_name">
					<span class="editadd_tl fl">收件人</span>
					<span class="editadd_input fl"><input class="" name="addressee" id="addressee" type="text" value="${address.addressee}"></span>
					<span class="clear"></span>
				</p>
				
				<p class="editadd_phone">
					<span class="editadd_tl fl">联系电话</span>
					<span class="editadd_input fl"><input class="" name="addressPhone" id="addressPhone" type="text" value="${address.addressPhone}"></span>
					<span class="clear"></span>
				</p>
				
				<p class="editadd_zip">
					<span class="editadd_tl fl">邮编</span>
					<span class="newadd_input fl"><input class="" name="zipCode" id="zipCode" type="text" value="${address.zipCode}"></span>
					<span class="clear"></span>
				</p>

				<div class="editadd_detailadd">
					<textarea class="textarea" name="detailed" id="detailed" onfocus="document.getElementById('editadd_note').style.display='none'" onblur="if(value=='')document.getElementById('editadd_note').style.display='block'"></textarea>
					<div id="editadd_note" class="editadd_note">${address.detailed}</div>
				</div>

			</div><!-- newaddress_txt -->
			
			<div class="saveuse_but">
				<input id="saveusebut" type="submit" value="保存"/></a>
			</div><!-- saveuse_but -->
		</div><!-- newaddress -->
	</div><!-- content_wrap -->
	</form>
	<div class="footer_copyright">
		<p>苏州知行合一网络科技有限公司提供技术支持，版权所有</p>
	</div><!-- footer_copyright -->
</body>
</html>